package xyz.fuqufyb.aec.fallback;

import com.springcloud.travel.entity.Info;
import org.springframework.stereotype.Component;
import xyz.fuqufyb.aec.data.TableResult;
import xyz.fuqufyb.aec.feign.InfoFeign.InfoFeign;

@Component
public class InfoFeignFallback implements InfoFeign {


    @Override
    public boolean addInfo(Info info) {
        System.out.println("InfoFeignFallback.addInfo");
        return false;
    }

    @Override
    public boolean updateInfo(Info info) {
        System.out.println("InfoFeignFallback.updateInfo");
        return false;
    }

    @Override
    public boolean delInfo(String[] ids) {
        System.out.println("InfoFeignFallback.delInfo");
        return false;
    }


    @Override
    public TableResult getTable(Integer page, Integer limit) {
        System.out.println("InfoFeignFallback.getTable");
        return null;
    }


}
